home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / nt / mypal.zip / MYPAL next >
Text File  |  1993-02-17  |  612b  |  25 lines

  1. # Nmake macros for building Windows 32-Bit apps
  2.  
  3. !include <ntwin32.mak>
  4.  
  5. all: mypal.exe
  6.  
  7. # Update the resource if necessary
  8.  
  9. mypal.res: mypal.rc mypal.h
  10.     rc -r mypal.rc
  11.  
  12. mypal.rbj: mypal.res
  13.     cvtres -$(CPU) mypal.res -o mypal.rbj
  14.  
  15. # Update the object file if necessary
  16.  
  17. mypal.obj: mypal.c mypal.h
  18.     $(cc) $(cflags) $(cvars) $(cdebug) mypal.c
  19.  
  20. # Update the executable file if necessary, and if so, add the resource back in.
  21.  
  22. mypal.exe: mypal.obj mypal.rbj mypal.def
  23.     $(cvtobj) $(cvtdebug) *.obj
  24.     $(link) $(linkdebug) $(guiflags) -out:mypal.exe mypal.obj mypal.rbj $(guilibs)
  25.